[4/6] refactor(showcase): convert the healthcare showcase to EQL v3 - #426
[4/6] refactor(showcase): convert the healthcare showcase to EQL v3#426freshtonic wants to merge 1 commit into
Conversation
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
c251fb8 to
3cad2c5
Compare
44ae965 to
b76f2bf
Compare
c251fb8 to
081333f
Compare
b76f2bf to
4daab58
Compare
081333f to
627e45e
Compare
4daab58 to
ef7d140
Compare
627e45e to
79de888
Compare
ef7d140 to
1191ee8
Compare
79de888 to
636f874
Compare
1191ee8 to
191a240
Compare
636f874 to
8af1493
Compare
191a240 to
6264fba
Compare
8af1493 to
aa1c4d8
Compare
6264fba to
1672c1d
Compare
aa1c4d8 to
8b6a2a9
Compare
1672c1d to
81e4096
Compare
8b6a2a9 to
89f5b39
Compare
81e4096 to
f6c40eb
Compare
89f5b39 to
a193749
Compare
f6c40eb to
d7a048d
Compare
a193749 to
16e0902
Compare
d7a048d to
8ab77ef
Compare
16e0902 to
ec137aa
Compare
8ab77ef to
7184084
Compare
The showcase's encrypted columns move from the EQL v2 opaque type +
per-column search config to EQL v3 self-configuring domain types.
- schema.sql: `pii/medication/procedure eql_v2_encrypted` +
`eql_v2.add_search_config('ste_vec', ...)` -> `eql_v3_json_search` columns
(the searchable encrypted-JSON / SteVec domain). The domain type alone
declares the encryption and searchability, so the add_search_config calls
are removed.
- data.rs::clear(): drop the `eql_v2_configuration` DELETE — v3 has no such
config table (self-configuring domains); clearing now just truncates.
- Cargo.toml / README.md / CLAUDE.md / model.rs / main.rs diagram: reworded
from EQL v2 to v3, incl. a capability -> v3-domain-suffix mapping table in
the showcase CLAUDE.md.
The demo queries are unchanged: they are plain SQL (->, ->>, @>, <@,
jsonb_path_*, comparisons, ORDER BY, aggregates) that Proxy's mapper now
rewrites to the v3 functional-index form. End-to-end validation still needs
a live Proxy + database with EQL v3 installed.
Compiles clean.
Refs CIP-3595.
Stable-Commit-Id: q-2sptjp0nj4f9wer95m8yfk4nxg
ec137aa to
2b5faa8
Compare
7184084 to
6775e22
Compare
|
Blacksmith runners detected OOM events on the following jobs:
|
📚 eql-v3 PR · 4 of 6
Part of a queue. The PRs merge in FIFO order — the numbered order below, #1 first. Merging one supersedes the PRs after it until the author runs
git queue sync(rebases the rest onto the merged base) andgit queue submit(retargets their PRs).✅🟢 #423
queue/eql-v3/upgrade-deps→main♻️🟢 #424
queue/eql-v3/typecheck→queue/eql-v3/upgrade-deps✅🟢 #428
queue/eql-v3/transform→queue/eql-v3/typecheck✅🟢 #426
queue/eql-v3/showcase→queue/eql-v3/transform👈 this PR⏳🟢 #427
queue/eql-v3/integration→queue/eql-v3/showcase⏳🟢 #430
feat/eql-v3-jsonb-composite-selectors→queue/eql-v3/integration✅ approved · ♻️ changes requested · ⏳ review pending | 🟣 merged · 🟢 open · ⚫ closed — status as of the last
git queue submit.🥞 Managed by git-queue — do not edit this list by hand.
About this queue
Migrates CipherStash Proxy from EQL v2 to EQL v3 (cipherstash-client 0.34.1-alpha.4 → 0.42.0, EQL 2.3.0-pre.3 → 3.0.2), replacing the opaque eql_v2_encrypted composite type with 53 typed jsonb domains that encode both scalar type and searchable capability in the column type itself.
About this branch
Convert the showcase to EQL v3